<?php
/**
 * @package orinoco.framework
 * @subpackage database
 * @author Ryan Yonzon <rawswift@gmail.com>
 * @copyright Copyright 2008-2009 Ryan Yonzon 
 * @license http://www.opensource.org/licenses/mit-license.php MIT License
 */

/**
 * database adapter interface
 */
interface databaseAdapter {
	// establish database connection; return boolean
	public function __construct($_host, $_username, $_password, $_database_name);
	// direct SQL query; return query result
	public function rawQuery($_sql_statement);
	// get field's type; return field type or FALSE
	public function getFieldType($_model, $_variable_name);	
} // end class

// -EOF-